package com.chezhujie.www.domain;

import com.xy.core.init.mysql.BaseEntity;
import com.xy.core.init.mysql.annotation.Column;
import com.xy.core.init.mysql.annotation.Entity;
import com.xy.core.init.mysql.annotation.Id;
import com.xy.core.init.mysql.annotation.Table;

import java.util.Date;

/**
 * Created by 汤伟杰 on 2017/5/31.
 */
@Entity
@Table(name="czj_business",describe = "商家信息表")
public class Czjbusiness extends BaseEntity{
    @Id
    @Column(length = 19,describe = "主键",inputType = "hidden")
    private String id;
    @Column(length = 255,describe = "商家登录名") //放用户ID
    private String username;
    @Column(length = 255,describe = "商家密码")
    private String password;
    @Column(length = 255,describe = "商家名称")
    private String businessName;
    @Column(length = 50,describe = "营业开始时间")
    private String startTime;
    @Column(length = 50,describe = "营业结束时间")
    private String endTime;
    @Column(length = 1,describe = "是否认证",inputType = "switch",inputCode = "yesorno")
    private Integer isAuth;
    @Column(length = 1,describe = "配送方式：是否支持送货上门",inputType = "switch",inputCode = "yesorno")
    private Integer distribution;

    @Column(length = 100,describe = "备注",inputType = "text")
    private String remarker;
    @Column(describe = "审批状态",length = 1,defalt = "0",inputType = "select",inputCode = "approvestatus")
    private Integer approveStatus;
    @Column(describe = "审批时间",inputType = "date")
    private Date approveTime;
    private Date approveTimeStart;
    private Date approveTimeEnd;
    @Column(describe = "创建时间",inputType = "date")
    private Date createTime;
    private Date createTimeStart;
    private Date createTimeEnd;
    @Column(describe = "删除标识",length = 1,defalt = "0",inputType = "hidden")
    private Integer delFlag;
    @Column(length = 100,describe = "商家电话",inputType = "text")
    private String phone;

    
    
    public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Integer getIsAuth() {
        return isAuth;
    }

    public void setIsAuth(Integer isAuth) {
        this.isAuth = isAuth;
    }

    public Integer getDistribution() {
        return distribution;
    }

    public void setDistribution(Integer distribution) {
        this.distribution = distribution;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateTimeStart() {
        return createTimeStart;
    }

    public void setCreateTimeStart(Date createTimeStart) {
        this.createTimeStart = createTimeStart;
    }

    public Date getCreateTimeEnd() {
        return createTimeEnd;
    }

    public void setCreateTimeEnd(Date createTimeEnd) {
        this.createTimeEnd = createTimeEnd;
    }

    public String getRemarker() {
        return remarker;
    }

    public void setRemarker(String remarker) {
        this.remarker = remarker;
    }

    public Integer getApproveStatus() {
        return approveStatus;
    }

    public void setApproveStatus(Integer approveStatus) {
        this.approveStatus = approveStatus;
    }

    public Date getApproveTime() {
        return approveTime;
    }

    public void setApproveTime(Date approveTime) {
        this.approveTime = approveTime;
    }

    public Date getApproveTimeStart() {
        return approveTimeStart;
    }

    public void setApproveTimeStart(Date approveTimeStart) {
        this.approveTimeStart = approveTimeStart;
    }

    public Date getApproveTimeEnd() {
        return approveTimeEnd;
    }

    public void setApproveTimeEnd(Date approveTimeEnd) {
        this.approveTimeEnd = approveTimeEnd;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }
}
